package com.scujj.cs6.model.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author FlanChan
 * @description 当地天气全部信息
 */
@Data
@Schema(name = "WeatherAllVo", description = "当地天气全部视图对象")
public class WeatherAllVo {

    @Schema(description = "区县信息")
    @JsonProperty("location")
    private DistrictsVo districtsVo;
    @Schema(description = "今日小时天气")
    @JsonProperty("now")
    private WeatherHoursVo weatherToday;
    @Schema(description = "未来天气")
    @JsonProperty("forecasts")
    private List<WeatherForecastVo> weathers;
}
